package com.qpl.depression.cms.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author qpl
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Paper implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分类
     */
    private Long categoryId;

    /**
     * 标题
     */
    private String title;

    /**
     * A
     */
    private String a;

    /**
     * B
     */
    private String b;

    /**
     * C
     */
    private String c;

    /**
     * D
     */
    private String d;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 正确答案
     */
    private String trueAnswer;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;


}
